<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>测试系数生成系统</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    {% block styles %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
    {% endblock %}
</head>
<body>


        <br>
        <h5 class="col-md-3 offset-md-4">测试系数生成系统</h5>
        <br>


<div class="container">


    <div class="row">

        <div class="col-md-3">
        <form method="post" enctype="multipart/form-data">
        {{ form2.csrf_token }}
            {{ form2.item_code.label }}<br>
            {{ form2.item_code(class='form-control')}}
            {% if form2.item_code.errors %}
            {% for message in form2.item_code.errors %}
            <small class="error" style="color: red">{{ message }}</small><br>
            {% endfor %}
            {% endif %}

            {{ form2.excel_data2.label }}<br>
            {{ form2.excel_data2(class='input-group-btn') }}<br>
            {% if form2.excel_data2.errors %}
            {% for message in form2.excel_data2.errors %}
            <small class="error" style="color: red">{{ message }}</small><br>
            {% endfor %}
            {% endif %}

        <br>
        {{ form2.submit2(class='btn btn-success btn-primary btn-block' )}}<br>
                    <a href="{{ url_for('coef') }}">--->>> 数  据  刷  新 --->>></a><br><br>




    <br>
    </form>
</div>

        <div class="col-md-3 offset-md-1">
        <form method="post" enctype="multipart/form-data">
        {{ form3.csrf_token }}
            {{ form2.item_code.label }}<br>
            <span style="font-size: large; font-family:serif; color: black; "> {{ moid }}</span><br>


            {{ form3.excel_data3.label }}<br>
            {{ form3.excel_data3(class='input-group-btn') }}<br>
            {% if form3.excel_data3.errors %}
            {% for message in form3.excel_data3.errors %}
            <small class="error" style="color: red">{{ message }}</small><br>
            {% endfor %}
            {% endif %}

        <br>
        {{ form3.submit3(class='btn btn-success btn-primary btn-block' )}}<br>
                    <a href="{{ url_for('coef') }}">--->>> 数  据  刷  新 --->>></a><br><br>







    <br>
    </form>
</div>








</div>
</div>
    <br>

</div>
    <br>
        <div class="col-md-8 offset-md-2">
        <p>提示：</p>

        {% for message in get_flashed_messages() %}
            <p class="error" style="color: red">{{ message }}</p><br>

        {% endfor %}
        </div>



        <br><br>





    <a href="{{ url_for('data') }}" class="col-md-6 offset-md-3">加系数计算结果</a>

</body>
</html>


